Dear list,
According to the information on contextgarden (section chemistry)
chemical reactions should be entered as follows:
\usemodule[chemic]
\startformula
\chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)}
\stopformula
That produces a formula with the comma's in it, so that's not good. I
A happy new year to everyone!
I’m trying to generate PDF/A compliant files and have a Problem with chemical
formulas in text.
The following does not work:
\setupinteraction
[title=TITLE,
subtitle=SUBTITLE,
author=AUTHOR,
keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
%% For PDF/A
\setupbackend
\startplacechemical
\startchemicalformula
...
\stopchemicalformula
\stopplacechemical
Alan
On Tue, 8 Nov 2016 20:06:27 +0100
Willi Egger <cont...@boede.nl> wrote:
> I am busy to edit an older article in which there are a couple of
> chemical fromulas and reactions.
>
I am busy to edit an older article in which there are a couple of chemical
fromulas and reactions.
However, I am stuck because the following throws me an error when uncommenting
the line with “\chemical{2H^\oplus}{~waterstof (zuur)}” (something with $
inserted…)
Another aspect
On 2/6/2016 9:19 PM, Alan BRASLAU wrote:
ConTeXt has troubles hyphenating chemical names, which in organic
chemistry can be funny things such as
N-(4-n-alkoxybenzylidene)-4’-alkylaniline.
The names can get much worse...
The rules for hyphenating in chemistry are well defined. Without
putting
ConTeXt has troubles hyphenating chemical names, which in organic
chemistry can be funny things such as
N-(4-n-alkoxybenzylidene)-4’-alkylaniline.
The names can get much worse...
The rules for hyphenating in chemistry are well defined. Without
putting specific hyphenating hints into the names
On Thu, 21 Nov 2013 15:55:09 -0500
Aditya Mahajan adit...@umich.edu wrote:
Unicode alpha gets translated to \greekalpha, so you need a font
(like dejavu) that includes those glyphs
Yes, thanks for this clarification.
When I tested this earlier, I was indeed using dejavu...
In the chemistry
Dear Sirs,
I'm trying to run some code from the ppchtex manual, however, the chemical
structures are not correctly drawn. See the example:
https://www.dropbox.com/s/w7v8kouc4glndf0/chemicerror.pdf.
I found this problem en Minimals (last version) and on TexLive 2013.
\setupbodyfont[11pt
On Thu, 21 Nov 2013, Alan Braslau wrote:
(For some reason, unicode \alpha currently disappears - a font issue.
This worked early so is indeed a bug.)
Unicode alpha gets translated to \greekalpha, so you need a font (like
dejavu) that includes those glyphs.
Aditya
on one or
two minor details that Hans and myself have not yet take care of - just
a question of getting around to it. Indeed, we NEED to release the new
manual...
Alan
\setupbodyfont[11pt]
\starttext
\startchemical[bottom=1.75,size=big,frame=on]
\bottext{\alpha-Glycerophosphate}
\chemical[ONE
Hello,
We have completely rewritten the chemical macros from ppchtex, taking
some liberty with some details of the syntax. I will look into your
examples to see what is going wrong.
Alan
On Thu, 21 Nov 2013 18:10:45 +
DesdeChaves desdecha...@gmail.com wrote:
Dear Sirs,
I'm trying
Hi all,
I found what I suppose to be a bug with the \chemical command:
- when one use \chemical inside display math, the spacing is wrong around the
\chemical stuff. The font change inside \chemical also persists outside the
command.
- if one enclose the \chemical command into curly braces
Strange, why did I get a spam tag on this message…
--
Romain Diss
romain.d...@yahoo.fr
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
We are currently in the process of a complete re-write of the chemical macros.
In fact, we are almost finished and Hans is including the new macros in the
beta (as fast as he can keep up with my changes...).
In your example, I see the spacing problem in display math but do not see the
font
on line 3 where the last parenthesis is smaller than expected.
Rather than display math (as was suggested with ppchTeX), we have now
introduced \startchemicalformula
\stopchemicalformula
in order to display a chemical formula.
Yes but in my cases I do want a mathematic display
Hi,
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
\starttext
%% does not typeset the reaction, prints the commas, wrong spacing
%% and no arrow
\startformula
\chemical{2H_2,+,O_2,-,2H_2O}
\stopformula
%% same here, GIVES
On Tue, 2 Oct 2012 09:40:35 +0200
Marco Patzer home...@lavabit.com wrote:
Hi,
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
\starttext
%% does not typeset the reaction, prints the commas, wrong spacing
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Hi Alan
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
[…]
\startchemicalformula
not
\startformula
\startchemicalformula
\chemical{2H_2}
\chemical
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Try the following:
\starttext
\startchemicalformula
\chemical{2H_2}
\chemical{+}
\chemical{O_2}
\chemical{-}
\chemical{2H_2O}
\stopchemicalformula
\chemical{-} is not rendered correctly.
\startchemicalformula
\chemical{2H_2
Hello all,
Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.
When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon
On 1-4-2012 15:15, Jaroslav Hajtmar wrote:
Hello all,
Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.
When is there command for example \lettertilde, is there something like
inside the
chemical formula?
Comma character is used as a delimiter of individual items in the
formula.
When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon (\charcomma) and others
nonalphanumerics characters (which would be used inside
Hi,
The following minimal example:
==
\starttext
\chemical{A,+,B,-,AB}
\stoptext
==
gives the following error under context version: 2011.10.08 11:42,
luatex version beta-0.70.1-2011051918:
! Undefined control sequence.
system
... the following version supports
nested braces and numbers (we can let this evolve in a proper chemical
subsystem if needed since eventually i will replace ppchtex anyway)
\startluacode
local molecule = { }
local format, sprint = string.format, tex.sprint
function commands.justtext(one)
sprint
On Mon, Sep 8, 2008 at 6:38 PM, Alan BRASLAU [EMAIL PROTECTED] wrote:
I have not understood how tables and \chemical interact.
The second case in the minimal example below
demonstrates unexpected/incorrect centering
when using \chemical and \bTABLE.
Am I missing something?
Thanks.
Alan
On Tuesday 09 September 2008 08:33:19 Wolfgang Schuster wrote:
\dontleavehmode\startchemical
Thank you. This works, of course.
I suppose that it is a subtlety why this is
necessary with \bTable but not with \starttable...
Should this perhaps be included in \startchemical
or would that wreak
I have not understood how tables and \chemical interact.
The second case in the minimal example below
demonstrates unexpected/incorrect centering
when using \chemical and \bTABLE.
Am I missing something?
Thanks.
Alan
\starttext
\usemodule[chemic]
\setupchemical[size=small,scale=200,width=fit
On Thu, Feb 21 2008, Mojca Miklavec wrote:
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
The following test-file produces an error:
% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2}
\stoptext
The issue probably needs to be solved, but I happily use
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster [EMAIL PROTECTED] wrote:
Hello,
The following test-file produces an error:
% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2}
\stoptext
This is tooo long.
\usemodule[chemic] is enough to produce the error with mkiv
On Fri, Feb 22, 2008 at 9:23 AM, Peter Münster wrote:
On Thu, Feb 21 2008, Mojca Miklavec wrote:
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
The following test-file produces an error:
% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2
Hello,
The following test-file produces an error:
% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2}
\stoptext
ERROR: Undefined control sequence.
--- TeX said ---
argument \s
!chemical\c !x1
\setvalue #1-\expandafter \def \csname #1
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
Hello,
The following test-file produces an error:
% engine=luatex
\usemodule[chemic]
\starttext
\chemical{CO_2}
\stoptext
The issue probably needs to be solved, but I happily use Taco's macro
for that purpose (works better
Hi,
I'd like to typeset a chemical compound in a \chapter. However, when I
try so, all elements are shown in italics.
Example:
---
\usemodule[chemic]
\title{Chemical \chemical{La_{1-x}Ca_xCoO_3}}
Chemical \chemical{La_{1-x}Ca_xCoO_3}
\end
---
Any ideas
Hi,
Mojca Miklavec wrote:
On 3/20/07, Tobias Burnus wrote:
I'd like to typeset a chemical compound in a \chapter. However, when I
try so, all elements are shown in italics.
Example:
---
\usemodule[chemic]
\title{Chemical \chemical{La_{1-x}Ca_xCoO_3}}
Chemical
On 3/20/07, Tobias Burnus wrote:
Hi,
I'd like to typeset a chemical compound in a \chapter. However, when I
try so, all elements are shown in italics.
Example:
---
\usemodule[chemic]
\title{Chemical \chemical{La_{1-x}Ca_xCoO_3}}
Chemical \chemical{La_{1-x}Ca_xCoO_3}
\end
Zhichu Chen wrote:
Hello
I've been studying PPCHTEX these days, it's very powerful, and I
cannot control it well. I just wrote a chemical struture like:
\startchemical
[size=small,scale=small,width=fit,height=fit,frame=on]
\chemical[SIX,SB13456
It sounds so cool! I love metapost.
On 11/14/06, Hans Hagen [EMAIL PROTECTED] wrote:
Zhichu Chen wrote: Hello I've been studying PPCHTEX these days, it's very powerful, and I
cannot control it well. I just wrote a chemical struture like: \startchemical [size
Hello
I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like:
\startchemical [size=small,scale=small,width=fit,height=fit,frame=on] \chemical[SIX,SB13456,DB2,Z] [C,C,C,C,C,C] \chemical[PB:Z1
I need the reaction of NTG with limestone.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
chemists using?
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
TIA,
- Ville
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
point with this? What are you chemists using?
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
\usemodule[chemic]
\placeformula[-]
\startformula
\chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
Stupid me. Just by leaving the \placeformula out. (Maybe I should go and
get something to eat, my brain seems to be in some sort of energy-saving
mode
\usemodule[chemic]
\placeformula[-]
\startformula
\chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)}
\stopformula
Dank u!
- Ville
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Ville Voipio wrote:
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
Stupid me. Just by leaving the \placeformula out. (Maybe I should go and
get something to eat, my brain seems to be in some sort
Ville Voipio wrote:
\usemodule[chemic]
\placeformula[-]
\startformula
\chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)}
\stopformula
Dank u!
Graag gedaan
btw, this is documented in the ppchtex manual
45 matches
Mail list logo